<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'

onLaunch(() => {
  console.log('App Launch')
  // const token = uni.getStorageSync('token')
  // if (!token) {
  //   uni.navigateTo({
  //     url: '/pages/login/index',
  //   })
  // }
})
onShow(() => {
  console.log('App Show')
})
onHide(() => {
  console.log('App Hide')
})
</script>

<style lang="scss">
@import url(./style/index.scss);
</style>
